package chongxiang;

public class Text {
	public static void main(String[] args) {
		Shape a = new Rectangle(12, 20);
		Shape c = new Circle(20);
		System.out.println(a.getName() + "：" + a.getArea()+"\n"+a.getLength());
		System.out.println(c.getName() + "：" + c.getArea()+"\n"+c.getLength());
	}
}
